package com.hydra.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.hydra.base.comment.Comment;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.data.annotation.Id;

import java.io.Serializable;

@ToString
public class IdEntity implements Serializable {

	@TableId(type = IdType.AUTO)
	@Getter @Setter
	@Comment("主键")
	protected Long id;

}
